package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.po.SysJob;

import java.util.List;

public interface SysJobService extends IService<SysJob> {

    public List<SysJob> getRunningJobList(int maxCount);

    public void updateJobServerKey(int size, int index, Long serverKey);

    public void updateJobServerKey(int size, int index, Long sourceServerKey, Long targetServerKey);

    public List<SysJob> getFinishJobs(int size);
}
